package com.common.dto;

import lombok.Getter;
import lombok.Setter;

/**
 * @author: zhaojd1604@gmail.com
 * @date: 2019-01-02 19:23
 * @description:
 * @since: V0.0.1
 */
@Setter
@Getter
public class SpringBootResp {

    private BaseResp baseResp;

    public SpringBootResp() {
        this.baseResp = new BaseResp();
    }

    public SpringBootResp(BaseResp baseResp) {
        this.baseResp = baseResp;
    }

    public <T> SpringBootResp(T t) {
        this.baseResp = new CommonUniqueResp<>(t);
    }
}